package com.gtw.modules.dao;

import com.gtw.modules.entity.TbSearchInfo;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户搜索记录
 */
@Mapper
@Repository
public interface TbSearchInfoDao extends BaseDao<TbSearchInfo>{

    int deleteByPrimaryKey(Integer id);

    int insert(TbSearchInfo record);

    int insertSelective(TbSearchInfo record);

    TbSearchInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbSearchInfo record);

    int updateByPrimaryKey(TbSearchInfo record);

    List<TbSearchInfo> findByKes(String keys);
}